How insert OLE Object to column other than 1?

Hi,
How do I insert an OLE Object for example to column 3 using DXL language?
I run

Module m = current
Object o 
for o in m do { 
oleInsert(o, "c://patch//to//a.txt") 
}

 


and OLE Object is always inserted in column 1.

Regards
Jarek

 


ojeju - Wed Jan 19 10:42:22 EST 2011

Re: How insert OLE Object to column other than 1?
ojeju - Thu Jan 20 03:36:25 EST 2011

Contents of first column is "Object Heading and Object Text", other column have different attribute. I would insert OLE object to column whose attribute is "Example".

Re: How insert OLE Object to column other than 1?
llandale - Thu Jan 20 15:09:00 EST 2011

oleInsert always puts it into Object Text, which in your particular case is displayed as the "Main" Object Heading and Text column in position 1. If you move that column or add Object Text column, you will see the insert appear to move. That'a a mirage, the insert goes into that attribute and has nothing to do with Columns.

I don't deal with OLE much, but I see no easy way to insert an OLE into some other attribute, but you can build the attribute value with OLE commands.

  • Louie